package com.chen.service;

import com.chen.domain.Teacher;
import com.chen.util.PageBean;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

public interface TeacherService {
//    分页查询
    PageBean<Teacher> queryPage(Map<String,Object> paramMap);

    //     批量删除Teacher
    Integer deleteTeacher(List<Integer> ids);
    //    增加老师
    Integer addTeacher(Teacher teacher);
    //    根据Id查找老师
    Teacher findById(Integer tid);
    //    修改老师
    Integer editTeacher(Teacher teacher);
    //    通过用户名与密码查找老师
    Teacher findByTeacher(Teacher teacher);
    //    修改教师密码
    Integer editPswByTeacher(Teacher teacher);
}
